package com.zhijiaoyun.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.zhijiaoyun.model.RECourseCategory;

/**
 * @author shisfish
 * @date 2017/6/6
 */
public interface IRECourseCategoryDao {
    int insert(@Param("courseId") Long courseId, @Param("categoryId") Long categoryId);

    int insertSelective(RECourseCategory record);

	void deleteByCourseId(Long courseId);

	int countByCategoryids(@Param("categoryids") List<Long> categoryids);

	int countByCategoryId(Long categoryId);

}